<?php
//source of function javascript() from inside a helper
function javascript($file, $config = array()){
	$CI =& get_instance();
    return $CI->load->view('js/'.$file, $config, true);
}
?>